import request from '@/utils/request'
import type { queryLoginLogParams } from '@/api/back-management/login-log/interface'
import type { Response } from '@/utils/type'

export const queryLoginLog = (
  params: queryLoginLogParams
): Promise<Response<any>> => {
  return request('/logs/user/login/query', {
    method: 'GET',
    params,
  })
}
